package com.cssl.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
@ApiModel("品牌实体类")
public class DtsBrand implements Serializable {
    Integer id;
    /**
     * 品牌商名称
     */
    String name;
    /**
     * 品牌商简介
     */
    String desc;
    /**
     * 品牌商页的品牌商图片
     */
    String picUrl;
    /**
     *显示顺序
     */
    String sortOrder;
    /**
     * 品牌商的商品低价，仅用于页面展示
     */
    String floorPrice;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    Date addTime;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    Date updateTime;
    /**
     * 分享二维码图片
     */
    String shareUrl;
    /**
     * 管理用户id
     */
    Integer adminId;
    /**
     * 逻辑删除
     */
    Integer deleted;
    /**
     * 公司
     */
    String commpany;
    /**
     * 自动监控更新商品
     */
    Integer autoUpdateGood;
    /**
     * 店铺url地址
     */
    String shopUrl;
    /**
     * 默认的商品类别id
     */
    Integer defaultCategoryId;
    /**
     * 默认商品页面数
     */
    Integer defaultPages;
    /**
     *店铺商品溢价
     */
    Integer addPrecent;
    /**
     * 提货地址
     */
    String address;
    /**
     * 经度
     */
    Double longitude;
    /**
     * 纬度
     */
    Double latitude;
    /**
     * 提货时间配置
     */
    String fetchTimeRules;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public String getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(String sortOrder) {
        this.sortOrder = sortOrder;
    }

    public String getFloorPrice() {
        return floorPrice;
    }

    public void setFloorPrice(String floorPrice) {
        this.floorPrice = floorPrice;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getShareUrl() {
        return shareUrl;
    }

    public void setShareUrl(String shareUrl) {
        this.shareUrl = shareUrl;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public String getCommpany() {
        return commpany;
    }

    public void setCommpany(String commpany) {
        this.commpany = commpany;
    }

    public Integer getAutoUpdateGood() {
        return autoUpdateGood;
    }

    public void setAutoUpdateGood(Integer autoUpdateGood) {
        this.autoUpdateGood = autoUpdateGood;
    }

    public String getShopUrl() {
        return shopUrl;
    }

    public void setShopUrl(String shopUrl) {
        this.shopUrl = shopUrl;
    }

    public Integer getDefaultCategoryId() {
        return defaultCategoryId;
    }

    public void setDefaultCategoryId(Integer defaultCategoryId) {
        this.defaultCategoryId = defaultCategoryId;
    }

    public Integer getDefaultPages() {
        return defaultPages;
    }

    public void setDefaultPages(Integer defaultPages) {
        this.defaultPages = defaultPages;
    }

    public Integer getAddPrecent() {
        return addPrecent;
    }

    public void setAddPrecent(Integer addPrecent) {
        this.addPrecent = addPrecent;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getFetchTimeRules() {
        return fetchTimeRules;
    }

    public void setFetchTimeRules(String fetchTimeRules) {
        this.fetchTimeRules = fetchTimeRules;
    }

    public DtsBrand() {

    }

    public DtsBrand(Integer id, String name, String desc, String picUrl, String sortOrder, String floorPrice, Date addTime, Date updateTime, String shareUrl, Integer adminId, Integer deleted, String commpany, Integer autoUpdateGood, String shopUrl, Integer defaultCategoryId, Integer defaultPages, Integer addPrecent, String address, Double longitude, Double latitude, String fetchTimeRules) {
        this.id = id;
        this.name = name;
        this.desc = desc;
        this.picUrl = picUrl;
        this.sortOrder = sortOrder;
        this.floorPrice = floorPrice;
        this.addTime = addTime;
        this.updateTime = updateTime;
        this.shareUrl = shareUrl;
        this.adminId = adminId;
        this.deleted = deleted;
        this.commpany = commpany;
        this.autoUpdateGood = autoUpdateGood;
        this.shopUrl = shopUrl;
        this.defaultCategoryId = defaultCategoryId;
        this.defaultPages = defaultPages;
        this.addPrecent = addPrecent;
        this.address = address;
        this.longitude = longitude;
        this.latitude = latitude;
        this.fetchTimeRules = fetchTimeRules;
    }
}
